package com.love_weinuo.ui.view;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Gavin on 2016/8/31.
 */
public class Info implements Serializable{

    /**
     * errcode : 0
     * msg : success
     * result : {"res":[{"isshow":"0","image":"/uploads/20190327/f18f0c2cc394bb8ddd6d41d37fbb2088.jpg","comment":"comment","id":4,"url":"http://baidu.com","order":4},{"isshow":"0","image":"/uploads/20190327/80c9a2060661f805b8cb9f2c0b2e8004.jpg","comment":"哈哈","id":2,"url":"http://baidu.com","order":2},{"isshow":"0","image":"/uploads/20190327/52ebc50bc1f934ec2a7f9c47dd7618b5.jpg","comment":"ddasd","id":3,"url":"sadsadasd","order":1}]}
     */
    private int errcode;
    private String msg;
    private ResultEntity result;

    public void setErrcode(int errcode) {
        this.errcode = errcode;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setResult(ResultEntity result) {
        this.result = result;
    }

    public int getErrcode() {
        return errcode;
    }

    public String getMsg() {
        return msg;
    }

    public ResultEntity getResult() {
        return result;
    }

    public class ResultEntity implements Serializable{
        /**
         * res : [{"isshow":"0","image":"/uploads/20190327/f18f0c2cc394bb8ddd6d41d37fbb2088.jpg","comment":"comment","id":4,"url":"http://baidu.com","order":4},{"isshow":"0","image":"/uploads/20190327/80c9a2060661f805b8cb9f2c0b2e8004.jpg","comment":"哈哈","id":2,"url":"http://baidu.com","order":2},{"isshow":"0","image":"/uploads/20190327/52ebc50bc1f934ec2a7f9c47dd7618b5.jpg","comment":"ddasd","id":3,"url":"sadsadasd","order":1}]
         */
        private List<ResEntity> res;

        public void setRes(List<ResEntity> res) {
            this.res = res;
        }

        public List<ResEntity> getRes() {
            return res;
        }

        public class ResEntity implements Serializable{
            /**
             * isshow : 0
             * image : /uploads/20190327/f18f0c2cc394bb8ddd6d41d37fbb2088.jpg
             * comment : comment
             * id : 4
             * url : http://baidu.com
             * order : 4
             */
            private String isshow;
            private String image;
            private String comment;
            private int id;
            private String url;
            private int order;

            public void setIsshow(String isshow) {
                this.isshow = isshow;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public void setComment(String comment) {
                this.comment = comment;
            }

            public void setId(int id) {
                this.id = id;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public void setOrder(int order) {
                this.order = order;
            }

            public String getIsshow() {
                return isshow;
            }

            public String getImage() {
                return image;
            }

            public String getComment() {
                return comment;
            }

            public int getId() {
                return id;
            }

            public String getUrl() {
                return url;
            }

            public int getOrder() {
                return order;
            }
        }
    }
}
